Exploration
Tables
Table 1: Summary statistics by Species
Petal.Length
|
|
Min.
|
1st Qu.
|
Median
|
Mean
|
3rd Qu.
|
Max.
|
|
setosa
|
1.0
|
1.4
|
1.50
|
1.46
|
1.58
|
1.9
|
|
versicolor
|
3.0
|
4.0
|
4.35
|
4.26
|
4.60
|
5.1
|
|
virginica
|
4.5
|
5.1
|
5.55
|
5.55
|
5.88
|
6.9
|
Petal.Width
|
|
Min.
|
1st Qu.
|
Median
|
Mean
|
3rd Qu.
|
Max.
|
|
setosa
|
0.1
|
0.2
|
0.2
|
0.25
|
0.3
|
0.6
|
|
versicolor
|
1.0
|
1.2
|
1.3
|
1.33
|
1.5
|
1.8
|
|
virginica
|
1.4
|
1.8
|
2.0
|
2.03
|
2.3
|
2.5
|
Table 2: Linear model Petal.Width ~ Petal.Length by
species
|
|
Estimate
|
Std. Error
|
t value
|
Pr(>|t|)
|
|
setosa
|
|
(Intercept)
|
-0.05
|
0.12
|
-0.40
|
0.69
|
|
Petal.Length
|
0.20
|
0.08
|
2.44
|
0.02
|
|
versicolor
|
|
(Intercept)
|
-0.08
|
0.16
|
-0.52
|
0.60
|
|
Petal.Length
|
0.33
|
0.04
|
8.83
|
0.00
|
|
virginica
|
|
(Intercept)
|
1.14
|
0.38
|
2.99
|
0.00
|
|
Petal.Length
|
0.16
|
0.07
|
2.36
|
0.02
|